package cn.Mmovie.service;

import cn.Mmovie.bean.Cinema;
import cn.Mmovie.util.PageUtil;

import java.util.List;

public interface CinemaService {
    Integer addCinema(Cinema cinema);
    PageUtil<Cinema> page(Integer pageNo, Integer pageSize);
    Integer deleteCinemaById(Integer id);
    Cinema selectValidateName(String name);
    Cinema queryCinemaById(Integer id);
    Integer modifyCinema(Cinema cinema);
    List<Cinema> queryAllCinema();
}
